﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IRecipeTypeService
    {
        public List<RecipeTypeModel> MendingRange(List<RecipeType> entities);
        public RecipeTypeModel Mending(RecipeType entity);
        //查询
        public List<RecipeType> GetAllRecipeTypes();
        public RecipeType GetRecipeTypeById(string id);
        public bool addRecipeType(RecipeType entity);
        public bool updateRecipeType(RecipeType model);
        public bool DeleteRecipeType(string id);
        public bool BatchDelRecipeType(List<string> ids);
    }
}
